package com.dkm.ec.sale.persistence.dao.impl;

import java.util.HashMap;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.dkm.base.db.mybatis.dao.MyBatisDaoImpl;
import com.dkm.ec.sale.persistence.dao.SaleSkuTagDao;
import com.dkm.ec.sale.persistence.entity.SaleSkuTagPo;

/**
 * 对象功能:产品SKU标签 Dao接口的实现类
 * 开发公司:SKG.COM
 * 开发人员:XWP
 * 创建时间:2015-04-29 14:18:13
 */
@Repository
public class SaleSkuTagDaoImpl extends MyBatisDaoImpl<String, SaleSkuTagPo> implements SaleSkuTagDao{

    @Override
    public String getNamespace() {
        return SaleSkuTagPo.class.getName();
    }
	
    @Override
	public void deleteBySkuIdAndType(String skuId, String type) {
		Map<String, Object> paramMap = new HashMap<String, Object>();
		paramMap.put("skuId", skuId);
		paramMap.put("type", type);
		this.deleteByKey("deleteBySkuIdAndType", paramMap);
	}
}
